var runtime.exitHooks
10 uses
runtime (current package)
exithook.go#L20: exitHooks.hooks = append(exitHooks.hooks, exitHook{f: f, runOnNonZeroExit: runOnNonZeroExit})
exithook.go#L32: var exitHooks struct {
exithook.go#L42: if exitHooks.runningExitHooks {
exithook.go#L45: exitHooks.runningExitHooks = true
exithook.go#L58: for i := range exitHooks.hooks {
exithook.go#L59: h := exitHooks.hooks[len(exitHooks.hooks)-i-1]
exithook.go#L67: exitHooks.hooks = nil
exithook.go#L68: exitHooks.runningExitHooks = false
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |